<?php

namespace App\Http\Controllers\Home;

use App\Model\Order;
use App\Model\WeChatNotify;
use EasyWeChat\MiniProgram\Application;
use App\Http\Controllers\Controller;

class MyController extends Controller
{
    public function test()
    {
       // $m = new WeChatNotify();
        //$order = Order::where('state','=',6)->first();
        //$res = $m->buySuccessNotify($order);
        //$res = $m->orderDelivery($order->express);
        //$res = $m->refund($order);
        //$res = $m->confirmReceipt($order);
        //$res = $m->giftReceived($order);
//        $res = $m->cardExpire($order);
//        dd($res);
    }
}
